import {createApp} from 'vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import 'element-plus/theme-chalk/display.css';
// 如果您正在使用CDN引入，请删除下面一行。
import processDesigner from "@/components/ProcessDesigner";
import processViewer from "@/components/ProcessViewer";

import App from '@/App.vue';

const app = createApp(App);

app.use(ElementPlus);
app.component('processDesigner', processDesigner);
app.component('processViewer', processViewer);

window.ASYNC_VALIDATOR_NO_WARNING = 1;

// 挂载 app
app.mount('#app');
